package com.jinghua.treatment.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class SysDoctorNoticeSettingExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer limitStart;

    protected Integer limitEnd;

    public SysDoctorNoticeSettingExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimitStart(Integer limitStart) {
        this.limitStart=limitStart;
    }

    public Integer getLimitStart() {
        return limitStart;
    }

    public void setLimitEnd(Integer limitEnd) {
        this.limitEnd=limitEnd;
    }

    public Integer getLimitEnd() {
        return limitEnd;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCTime(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Time(value.getTime()), property);
        }

        protected void addCriterionForJDBCTime(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Time> timeList = new ArrayList<java.sql.Time>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                timeList.add(new java.sql.Time(iter.next().getTime()));
            }
            addCriterion(condition, timeList, property);
        }

        protected void addCriterionForJDBCTime(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Time(value1.getTime()), new java.sql.Time(value2.getTime()), property);
        }

        public Criteria andUuidIsNull() {
            addCriterion("`uuid` is null");
            return (Criteria) this;
        }

        public Criteria andUuidIsNotNull() {
            addCriterion("`uuid` is not null");
            return (Criteria) this;
        }

        public Criteria andUuidEqualTo(Integer value) {
            addCriterion("`uuid` =", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotEqualTo(Integer value) {
            addCriterion("`uuid` <>", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThan(Integer value) {
            addCriterion("`uuid` >", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThanOrEqualTo(Integer value) {
            addCriterion("`uuid` >=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThan(Integer value) {
            addCriterion("`uuid` <", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThanOrEqualTo(Integer value) {
            addCriterion("`uuid` <=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidIn(List<Integer> values) {
            addCriterion("`uuid` in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotIn(List<Integer> values) {
            addCriterion("`uuid` not in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidBetween(Integer value1, Integer value2) {
            addCriterion("`uuid` between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotBetween(Integer value1, Integer value2) {
            addCriterion("`uuid` not between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andDoctorIdIsNull() {
            addCriterion("`doctor_id` is null");
            return (Criteria) this;
        }

        public Criteria andDoctorIdIsNotNull() {
            addCriterion("`doctor_id` is not null");
            return (Criteria) this;
        }

        public Criteria andDoctorIdEqualTo(Integer value) {
            addCriterion("`doctor_id` =", value, "doctorId");
            return (Criteria) this;
        }

        public Criteria andDoctorIdNotEqualTo(Integer value) {
            addCriterion("`doctor_id` <>", value, "doctorId");
            return (Criteria) this;
        }

        public Criteria andDoctorIdGreaterThan(Integer value) {
            addCriterion("`doctor_id` >", value, "doctorId");
            return (Criteria) this;
        }

        public Criteria andDoctorIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("`doctor_id` >=", value, "doctorId");
            return (Criteria) this;
        }

        public Criteria andDoctorIdLessThan(Integer value) {
            addCriterion("`doctor_id` <", value, "doctorId");
            return (Criteria) this;
        }

        public Criteria andDoctorIdLessThanOrEqualTo(Integer value) {
            addCriterion("`doctor_id` <=", value, "doctorId");
            return (Criteria) this;
        }

        public Criteria andDoctorIdIn(List<Integer> values) {
            addCriterion("`doctor_id` in", values, "doctorId");
            return (Criteria) this;
        }

        public Criteria andDoctorIdNotIn(List<Integer> values) {
            addCriterion("`doctor_id` not in", values, "doctorId");
            return (Criteria) this;
        }

        public Criteria andDoctorIdBetween(Integer value1, Integer value2) {
            addCriterion("`doctor_id` between", value1, value2, "doctorId");
            return (Criteria) this;
        }

        public Criteria andDoctorIdNotBetween(Integer value1, Integer value2) {
            addCriterion("`doctor_id` not between", value1, value2, "doctorId");
            return (Criteria) this;
        }

        public Criteria andNoticeIsNull() {
            addCriterion("`notice` is null");
            return (Criteria) this;
        }

        public Criteria andNoticeIsNotNull() {
            addCriterion("`notice` is not null");
            return (Criteria) this;
        }

        public Criteria andNoticeEqualTo(String value) {
            addCriterion("`notice` =", value, "notice");
            return (Criteria) this;
        }

        public Criteria andNoticeNotEqualTo(String value) {
            addCriterion("`notice` <>", value, "notice");
            return (Criteria) this;
        }

        public Criteria andNoticeGreaterThan(String value) {
            addCriterion("`notice` >", value, "notice");
            return (Criteria) this;
        }

        public Criteria andNoticeGreaterThanOrEqualTo(String value) {
            addCriterion("`notice` >=", value, "notice");
            return (Criteria) this;
        }

        public Criteria andNoticeLessThan(String value) {
            addCriterion("`notice` <", value, "notice");
            return (Criteria) this;
        }

        public Criteria andNoticeLessThanOrEqualTo(String value) {
            addCriterion("`notice` <=", value, "notice");
            return (Criteria) this;
        }

        public Criteria andNoticeLike(String value) {
            addCriterion("`notice` like", value, "notice");
            return (Criteria) this;
        }

        public Criteria andNoticeNotLike(String value) {
            addCriterion("`notice` not like", value, "notice");
            return (Criteria) this;
        }

        public Criteria andNoticeIn(List<String> values) {
            addCriterion("`notice` in", values, "notice");
            return (Criteria) this;
        }

        public Criteria andNoticeNotIn(List<String> values) {
            addCriterion("`notice` not in", values, "notice");
            return (Criteria) this;
        }

        public Criteria andNoticeBetween(String value1, String value2) {
            addCriterion("`notice` between", value1, value2, "notice");
            return (Criteria) this;
        }

        public Criteria andNoticeNotBetween(String value1, String value2) {
            addCriterion("`notice` not between", value1, value2, "notice");
            return (Criteria) this;
        }

        public Criteria andChargeDescIsNull() {
            addCriterion("`charge_desc` is null");
            return (Criteria) this;
        }

        public Criteria andChargeDescIsNotNull() {
            addCriterion("`charge_desc` is not null");
            return (Criteria) this;
        }

        public Criteria andChargeDescEqualTo(String value) {
            addCriterion("`charge_desc` =", value, "chargeDesc");
            return (Criteria) this;
        }

        public Criteria andChargeDescNotEqualTo(String value) {
            addCriterion("`charge_desc` <>", value, "chargeDesc");
            return (Criteria) this;
        }

        public Criteria andChargeDescGreaterThan(String value) {
            addCriterion("`charge_desc` >", value, "chargeDesc");
            return (Criteria) this;
        }

        public Criteria andChargeDescGreaterThanOrEqualTo(String value) {
            addCriterion("`charge_desc` >=", value, "chargeDesc");
            return (Criteria) this;
        }

        public Criteria andChargeDescLessThan(String value) {
            addCriterion("`charge_desc` <", value, "chargeDesc");
            return (Criteria) this;
        }

        public Criteria andChargeDescLessThanOrEqualTo(String value) {
            addCriterion("`charge_desc` <=", value, "chargeDesc");
            return (Criteria) this;
        }

        public Criteria andChargeDescLike(String value) {
            addCriterion("`charge_desc` like", value, "chargeDesc");
            return (Criteria) this;
        }

        public Criteria andChargeDescNotLike(String value) {
            addCriterion("`charge_desc` not like", value, "chargeDesc");
            return (Criteria) this;
        }

        public Criteria andChargeDescIn(List<String> values) {
            addCriterion("`charge_desc` in", values, "chargeDesc");
            return (Criteria) this;
        }

        public Criteria andChargeDescNotIn(List<String> values) {
            addCriterion("`charge_desc` not in", values, "chargeDesc");
            return (Criteria) this;
        }

        public Criteria andChargeDescBetween(String value1, String value2) {
            addCriterion("`charge_desc` between", value1, value2, "chargeDesc");
            return (Criteria) this;
        }

        public Criteria andChargeDescNotBetween(String value1, String value2) {
            addCriterion("`charge_desc` not between", value1, value2, "chargeDesc");
            return (Criteria) this;
        }

        public Criteria andChargeFeeIsNull() {
            addCriterion("`charge_fee` is null");
            return (Criteria) this;
        }

        public Criteria andChargeFeeIsNotNull() {
            addCriterion("`charge_fee` is not null");
            return (Criteria) this;
        }

        public Criteria andChargeFeeEqualTo(Double value) {
            addCriterion("`charge_fee` =", value, "chargeFee");
            return (Criteria) this;
        }

        public Criteria andChargeFeeNotEqualTo(Double value) {
            addCriterion("`charge_fee` <>", value, "chargeFee");
            return (Criteria) this;
        }

        public Criteria andChargeFeeGreaterThan(Double value) {
            addCriterion("`charge_fee` >", value, "chargeFee");
            return (Criteria) this;
        }

        public Criteria andChargeFeeGreaterThanOrEqualTo(Double value) {
            addCriterion("`charge_fee` >=", value, "chargeFee");
            return (Criteria) this;
        }

        public Criteria andChargeFeeLessThan(Double value) {
            addCriterion("`charge_fee` <", value, "chargeFee");
            return (Criteria) this;
        }

        public Criteria andChargeFeeLessThanOrEqualTo(Double value) {
            addCriterion("`charge_fee` <=", value, "chargeFee");
            return (Criteria) this;
        }

        public Criteria andChargeFeeIn(List<Double> values) {
            addCriterion("`charge_fee` in", values, "chargeFee");
            return (Criteria) this;
        }

        public Criteria andChargeFeeNotIn(List<Double> values) {
            addCriterion("`charge_fee` not in", values, "chargeFee");
            return (Criteria) this;
        }

        public Criteria andChargeFeeBetween(Double value1, Double value2) {
            addCriterion("`charge_fee` between", value1, value2, "chargeFee");
            return (Criteria) this;
        }

        public Criteria andChargeFeeNotBetween(Double value1, Double value2) {
            addCriterion("`charge_fee` not between", value1, value2, "chargeFee");
            return (Criteria) this;
        }

        public Criteria andClinicInfoIsNull() {
            addCriterion("`clinic_info` is null");
            return (Criteria) this;
        }

        public Criteria andClinicInfoIsNotNull() {
            addCriterion("`clinic_info` is not null");
            return (Criteria) this;
        }

        public Criteria andClinicInfoEqualTo(String value) {
            addCriterion("`clinic_info` =", value, "clinicInfo");
            return (Criteria) this;
        }

        public Criteria andClinicInfoNotEqualTo(String value) {
            addCriterion("`clinic_info` <>", value, "clinicInfo");
            return (Criteria) this;
        }

        public Criteria andClinicInfoGreaterThan(String value) {
            addCriterion("`clinic_info` >", value, "clinicInfo");
            return (Criteria) this;
        }

        public Criteria andClinicInfoGreaterThanOrEqualTo(String value) {
            addCriterion("`clinic_info` >=", value, "clinicInfo");
            return (Criteria) this;
        }

        public Criteria andClinicInfoLessThan(String value) {
            addCriterion("`clinic_info` <", value, "clinicInfo");
            return (Criteria) this;
        }

        public Criteria andClinicInfoLessThanOrEqualTo(String value) {
            addCriterion("`clinic_info` <=", value, "clinicInfo");
            return (Criteria) this;
        }

        public Criteria andClinicInfoLike(String value) {
            addCriterion("`clinic_info` like", value, "clinicInfo");
            return (Criteria) this;
        }

        public Criteria andClinicInfoNotLike(String value) {
            addCriterion("`clinic_info` not like", value, "clinicInfo");
            return (Criteria) this;
        }

        public Criteria andClinicInfoIn(List<String> values) {
            addCriterion("`clinic_info` in", values, "clinicInfo");
            return (Criteria) this;
        }

        public Criteria andClinicInfoNotIn(List<String> values) {
            addCriterion("`clinic_info` not in", values, "clinicInfo");
            return (Criteria) this;
        }

        public Criteria andClinicInfoBetween(String value1, String value2) {
            addCriterion("`clinic_info` between", value1, value2, "clinicInfo");
            return (Criteria) this;
        }

        public Criteria andClinicInfoNotBetween(String value1, String value2) {
            addCriterion("`clinic_info` not between", value1, value2, "clinicInfo");
            return (Criteria) this;
        }

        public Criteria andGoodAtIsNull() {
            addCriterion("`good_at` is null");
            return (Criteria) this;
        }

        public Criteria andGoodAtIsNotNull() {
            addCriterion("`good_at` is not null");
            return (Criteria) this;
        }

        public Criteria andGoodAtEqualTo(String value) {
            addCriterion("`good_at` =", value, "goodAt");
            return (Criteria) this;
        }

        public Criteria andGoodAtNotEqualTo(String value) {
            addCriterion("`good_at` <>", value, "goodAt");
            return (Criteria) this;
        }

        public Criteria andGoodAtGreaterThan(String value) {
            addCriterion("`good_at` >", value, "goodAt");
            return (Criteria) this;
        }

        public Criteria andGoodAtGreaterThanOrEqualTo(String value) {
            addCriterion("`good_at` >=", value, "goodAt");
            return (Criteria) this;
        }

        public Criteria andGoodAtLessThan(String value) {
            addCriterion("`good_at` <", value, "goodAt");
            return (Criteria) this;
        }

        public Criteria andGoodAtLessThanOrEqualTo(String value) {
            addCriterion("`good_at` <=", value, "goodAt");
            return (Criteria) this;
        }

        public Criteria andGoodAtLike(String value) {
            addCriterion("`good_at` like", value, "goodAt");
            return (Criteria) this;
        }

        public Criteria andGoodAtNotLike(String value) {
            addCriterion("`good_at` not like", value, "goodAt");
            return (Criteria) this;
        }

        public Criteria andGoodAtIn(List<String> values) {
            addCriterion("`good_at` in", values, "goodAt");
            return (Criteria) this;
        }

        public Criteria andGoodAtNotIn(List<String> values) {
            addCriterion("`good_at` not in", values, "goodAt");
            return (Criteria) this;
        }

        public Criteria andGoodAtBetween(String value1, String value2) {
            addCriterion("`good_at` between", value1, value2, "goodAt");
            return (Criteria) this;
        }

        public Criteria andGoodAtNotBetween(String value1, String value2) {
            addCriterion("`good_at` not between", value1, value2, "goodAt");
            return (Criteria) this;
        }

        public Criteria andWelcomeWordsIsNull() {
            addCriterion("`welcome_words` is null");
            return (Criteria) this;
        }

        public Criteria andWelcomeWordsIsNotNull() {
            addCriterion("`welcome_words` is not null");
            return (Criteria) this;
        }

        public Criteria andWelcomeWordsEqualTo(String value) {
            addCriterion("`welcome_words` =", value, "welcomeWords");
            return (Criteria) this;
        }

        public Criteria andWelcomeWordsNotEqualTo(String value) {
            addCriterion("`welcome_words` <>", value, "welcomeWords");
            return (Criteria) this;
        }

        public Criteria andWelcomeWordsGreaterThan(String value) {
            addCriterion("`welcome_words` >", value, "welcomeWords");
            return (Criteria) this;
        }

        public Criteria andWelcomeWordsGreaterThanOrEqualTo(String value) {
            addCriterion("`welcome_words` >=", value, "welcomeWords");
            return (Criteria) this;
        }

        public Criteria andWelcomeWordsLessThan(String value) {
            addCriterion("`welcome_words` <", value, "welcomeWords");
            return (Criteria) this;
        }

        public Criteria andWelcomeWordsLessThanOrEqualTo(String value) {
            addCriterion("`welcome_words` <=", value, "welcomeWords");
            return (Criteria) this;
        }

        public Criteria andWelcomeWordsLike(String value) {
            addCriterion("`welcome_words` like", value, "welcomeWords");
            return (Criteria) this;
        }

        public Criteria andWelcomeWordsNotLike(String value) {
            addCriterion("`welcome_words` not like", value, "welcomeWords");
            return (Criteria) this;
        }

        public Criteria andWelcomeWordsIn(List<String> values) {
            addCriterion("`welcome_words` in", values, "welcomeWords");
            return (Criteria) this;
        }

        public Criteria andWelcomeWordsNotIn(List<String> values) {
            addCriterion("`welcome_words` not in", values, "welcomeWords");
            return (Criteria) this;
        }

        public Criteria andWelcomeWordsBetween(String value1, String value2) {
            addCriterion("`welcome_words` between", value1, value2, "welcomeWords");
            return (Criteria) this;
        }

        public Criteria andWelcomeWordsNotBetween(String value1, String value2) {
            addCriterion("`welcome_words` not between", value1, value2, "welcomeWords");
            return (Criteria) this;
        }

        public Criteria andNdtStartIsNull() {
            addCriterion("`ndt_start` is null");
            return (Criteria) this;
        }

        public Criteria andNdtStartIsNotNull() {
            addCriterion("`ndt_start` is not null");
            return (Criteria) this;
        }

        public Criteria andNdtStartEqualTo(Date value) {
            addCriterionForJDBCTime("`ndt_start` =", value, "ndtStart");
            return (Criteria) this;
        }

        public Criteria andNdtStartNotEqualTo(Date value) {
            addCriterionForJDBCTime("`ndt_start` <>", value, "ndtStart");
            return (Criteria) this;
        }

        public Criteria andNdtStartGreaterThan(Date value) {
            addCriterionForJDBCTime("`ndt_start` >", value, "ndtStart");
            return (Criteria) this;
        }

        public Criteria andNdtStartGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCTime("`ndt_start` >=", value, "ndtStart");
            return (Criteria) this;
        }

        public Criteria andNdtStartLessThan(Date value) {
            addCriterionForJDBCTime("`ndt_start` <", value, "ndtStart");
            return (Criteria) this;
        }

        public Criteria andNdtStartLessThanOrEqualTo(Date value) {
            addCriterionForJDBCTime("`ndt_start` <=", value, "ndtStart");
            return (Criteria) this;
        }

        public Criteria andNdtStartIn(List<Date> values) {
            addCriterionForJDBCTime("`ndt_start` in", values, "ndtStart");
            return (Criteria) this;
        }

        public Criteria andNdtStartNotIn(List<Date> values) {
            addCriterionForJDBCTime("`ndt_start` not in", values, "ndtStart");
            return (Criteria) this;
        }

        public Criteria andNdtStartBetween(Date value1, Date value2) {
            addCriterionForJDBCTime("`ndt_start` between", value1, value2, "ndtStart");
            return (Criteria) this;
        }

        public Criteria andNdtStartNotBetween(Date value1, Date value2) {
            addCriterionForJDBCTime("`ndt_start` not between", value1, value2, "ndtStart");
            return (Criteria) this;
        }

        public Criteria andNdtEndIsNull() {
            addCriterion("`ndt_end` is null");
            return (Criteria) this;
        }

        public Criteria andNdtEndIsNotNull() {
            addCriterion("`ndt_end` is not null");
            return (Criteria) this;
        }

        public Criteria andNdtEndEqualTo(Date value) {
            addCriterionForJDBCTime("`ndt_end` =", value, "ndtEnd");
            return (Criteria) this;
        }

        public Criteria andNdtEndNotEqualTo(Date value) {
            addCriterionForJDBCTime("`ndt_end` <>", value, "ndtEnd");
            return (Criteria) this;
        }

        public Criteria andNdtEndGreaterThan(Date value) {
            addCriterionForJDBCTime("`ndt_end` >", value, "ndtEnd");
            return (Criteria) this;
        }

        public Criteria andNdtEndGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCTime("`ndt_end` >=", value, "ndtEnd");
            return (Criteria) this;
        }

        public Criteria andNdtEndLessThan(Date value) {
            addCriterionForJDBCTime("`ndt_end` <", value, "ndtEnd");
            return (Criteria) this;
        }

        public Criteria andNdtEndLessThanOrEqualTo(Date value) {
            addCriterionForJDBCTime("`ndt_end` <=", value, "ndtEnd");
            return (Criteria) this;
        }

        public Criteria andNdtEndIn(List<Date> values) {
            addCriterionForJDBCTime("`ndt_end` in", values, "ndtEnd");
            return (Criteria) this;
        }

        public Criteria andNdtEndNotIn(List<Date> values) {
            addCriterionForJDBCTime("`ndt_end` not in", values, "ndtEnd");
            return (Criteria) this;
        }

        public Criteria andNdtEndBetween(Date value1, Date value2) {
            addCriterionForJDBCTime("`ndt_end` between", value1, value2, "ndtEnd");
            return (Criteria) this;
        }

        public Criteria andNdtEndNotBetween(Date value1, Date value2) {
            addCriterionForJDBCTime("`ndt_end` not between", value1, value2, "ndtEnd");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}